package com.cloudcc.mobile.entity.addmicropost;

import java.io.Serializable;

import com.cloudcc.mobile.entity.EntityBase;
import com.cloudcc.mobile.entity.chat.DraftBox;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Table;
/** * 投票类型的帖子 * @author Administrator * */
@Table(name = "AddMicroPostV")
public class AddMicroPostV extends EntityBase implements Serializable{
//	@Column(column = "pollOptions")
//	private ArrayList<Option> pollOptions;
	@Column(column = "pollOptions")
	private String  pollOptions;
	@Column(column = "body")
	private String body;
	@Column(column = "targetType")
	private String targetType;
	@Column(column = "targetId")
	private String targetId;
	@Column(column = "recordId")
	private String recordId;
	@Column(column = "longitude")
	private double longitude;
	@Column(column = "latitude")
	private double latitude;
	@Column(column = "address")
	private String address;
	@Column(column = "isClickable")
	private boolean isClickable;
	@Column(column = "taskIdOrEventId")
	private String taskIdOrEventId;
	@Foreign(column = "parentId", foreign = "id")
	public DraftBox parent;
	
	public DraftBox getParent() {
		return parent;
	}
	public void setParent(DraftBox parent) {
		this.parent = parent;
	}
	
//	public ArrayList<Option> getPollOptions() {
//		return pollOptions;
//	}
//	public void setPollOptions(ArrayList<Option> pollOptions) {
//		this.pollOptions = pollOptions;
//	}

	public String getTaskIdOrEventId() {
		return taskIdOrEventId;
	}
	public boolean isClickable() {
		return isClickable;
	}
	public void setClickable(boolean isClickable) {
		this.isClickable = isClickable;
	}
	public void setTaskIdOrEventId(String taskIdOrEventId) {
		this.taskIdOrEventId = taskIdOrEventId;
	}
	public String getBody() {
		return body;
	}
	public String getPollOptions() {
		return pollOptions;
	}
	public void setPollOptions(String pollOptions) {
		this.pollOptions = pollOptions;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getTargetType() {
		return targetType;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}



	public String getTargetId() {
		return targetId;
	}



	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}



	public String getRecordId() {
		return recordId;
	}



	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}



	public AddMicroPostV() {
		super();
	}


}
